package com.zlx.mall.biz.access.model;

import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

/**
 * @Author xiatian
 * @Date 2025/3/23 星期日 11:52
 * @注释
 */
@Data
public class LoginRequest {
    @Pattern(regexp = "^1\\d{10}$", message = "手机号错误")
    @NotNull(message = "手机号不能为空")
    private String mobile;
    private String verifyCode;
}
